from django.shortcuts import render
from django.http import HttpResponse
# Create your views here.
def fun_response01(request):
    v_content_html='''
    <!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style type="text/css">
        table{
            margin: auto;
        }
    </style>
</head>
<body>
<table width="60%" border="1px" cellpadding="0px" cellspacing="0px">
    <tr align="center">
        <td>1</td>
        <td>2</td>
        <td>3</td>
    </tr>
    <tr align="center">
        <td>1</td>
        <td>2</td>
        <td>3</td>
    </tr>
</table>
</body>
</html>
    '''
    return HttpResponse(content=v_content_html,charset='utf-8')


def fun_response02(request):
    return render(request,'html01_01.html')